Skip to main content

Verification Request Event

The Verification Request Event is triggered when a new verification request is initiated from the SDK client or through the Verification Request API.

This callback event is sent as an HTTP POST request to the verification callback URL configured in the Sinch SMV Platform.

The callback is triggered only when a verification callback URL is configured in the dashboard.

Sample Request:

{
"id": "XXXXXXXXXXXXXXXXXXXX",
"event": "VerificationRequestEvent",
"method": "seamless",
"identity": {
"type": "number",
"endpoint": "+1XXXXXXXXXX"
},
"reference": "string",
"custom": "string",
"price": {
"currencyId": "USD",
"amount": 0.0127
}
}
ParameterDescriptionJSON TypeRequired
idThe unique ID of the verification request.StringYes
eventEvent received onto verification request.
Example: "VerificationRequestEvent"
stringYes
referenceYour custom reference for tracking purposes.The reference can be used to check the status of verifications, like with ID or identity.stringNo
customOptional custom data passed through the verification process.stringNo
identitySpecifies the type of endpoint that will be verifiedobjectyes
typeCurrently only number type is supported.Stringyes
endpointE.164 phone number (example: +46700000000).stringYes
methodThe method of the verification request.stringyes
pricePrices associated with this verification.This property will appear in the body of the response with a delay. It will become visible only when the verification status is other than PENDING.objectyes
currencyIdstringyes
amountstringyes

Sample Response:

{
"action": "allow"
}
{
"action": "deny"
}
Enum ValueDescription
allowVerification allowed.
denyVerification denied.